package com.jnu.ilearn.bean;

import java.io.Serializable;

public class User implements Serializable
{
    private String account;
    private String password;
    private String alias;
    private String identity;
    private int Point;

    public User( String account, String password, String alias,String identity,int Point) {
        this.account = account;
        this.password = password;
        this.alias = alias;
        this.identity=identity;
        this.Point=Point;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    @Override
    public String toString() {
        return "User{" +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", alias='" + alias + '\'' +
                ", identity='"+identity+'\''+
                '}';
    }



    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public int getPoint() {
        return Point;
    }

    public void setPoint(int point) {
        Point = point;
    }
}
